package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 地区表 areas_csv
 * 
 * @author ruoyi
 * @date 2019-04-17
 */
public class AreasCsv extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 地区名称 */
	private String areaname;
	/** 父节点 */
	private Integer parentid;
	/** 简称 */
	private String shortname;
	/** 经度 */
	private Double lng;
	/** 纬度 */
	private Double lat;
	/** 级 */
	private Integer level;
	/** 位置 */
	private String position;
	/** 排序 */
	private Integer sort;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setAreaname(String areaname) 
	{
		this.areaname = areaname;
	}

	public String getAreaname() 
	{
		return areaname;
	}
	public void setParentid(Integer parentid) 
	{
		this.parentid = parentid;
	}

	public Integer getParentid() 
	{
		return parentid;
	}
	public void setShortname(String shortname) 
	{
		this.shortname = shortname;
	}

	public String getShortname() 
	{
		return shortname;
	}
	public void setLng(Double lng) 
	{
		this.lng = lng;
	}

	public Double getLng() 
	{
		return lng;
	}
	public void setLat(Double lat) 
	{
		this.lat = lat;
	}

	public Double getLat() 
	{
		return lat;
	}
	public void setLevel(Integer level) 
	{
		this.level = level;
	}

	public Integer getLevel() 
	{
		return level;
	}
	public void setPosition(String position) 
	{
		this.position = position;
	}

	public String getPosition() 
	{
		return position;
	}
	public void setSort(Integer sort) 
	{
		this.sort = sort;
	}

	public Integer getSort() 
	{
		return sort;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaname", getAreaname())
            .append("parentid", getParentid())
            .append("shortname", getShortname())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("level", getLevel())
            .append("position", getPosition())
            .append("sort", getSort())
            .toString();
    }
}
